class Data {
  int? dictId;
  String? dictType;
  dynamic? dictTypeName;
  String? dictCode;
  String? dictName;
  int? hasChild;
  dynamic? parentId;
  int? sort;
  int? state;
  dynamic? childList;

  Data({
      this.dictId, 
      this.dictType, 
      this.dictTypeName, 
      this.dictCode, 
      this.dictName, 
      this.hasChild, 
      this.parentId, 
      this.sort, 
      this.state, 
      this.childList});

  Data.fromJson(dynamic json) {
    dictId = json['dictId'];
    dictType = json['dictType'];
    dictTypeName = json['dictTypeName'];
    dictCode = json['dictCode'];
    dictName = json['dictName'];
    hasChild = json['hasChild'];
    parentId = json['parentId'];
    sort = json['sort'];
    state = json['state'];
    childList = json['childList'];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map['dictId'] = dictId;
    map['dictType'] = dictType;
    map['dictTypeName'] = dictTypeName;
    map['dictCode'] = dictCode;
    map['dictName'] = dictName;
    map['hasChild'] = hasChild;
    map['parentId'] = parentId;
    map['sort'] = sort;
    map['state'] = state;
    map['childList'] = childList;
    return map;
  }

}